<br>
<form method="post" action="index.php" name="formulario">
	<table class="filtro">
		<tr><td>&nbsp;&nbsp;Nome </td><td><input type="text" name="nome" size="40"> <td></tr>
        <tr><td colspan=2 align=right>&nbsp;&nbsp;
        	<input type="submit" value="Filtrar" size="10">
			<input type="hidden" name="evento" value="40">  </td></tr> <!-- EVENTO Consultar PRofessor -->
	</table>
</form>
<table width="100%" class="data" style="float: left;">
    <thead>
		<tr class="topo">
			<th>A&ccedil;&atilde;o </th>
			<th>Nome</th>
			<th>Telefone </th>
			<th>Celular</th>
			<th>Ativo</th>
		</tr>
    </thead>
    {foreach from=$registros item="entrada"}
    <tbody>
    	<tr class="{cycle values="odd,even" }" >
    		<td align="center">
				<a href= "index.php?evento=43&codigo={$entrada->cod_professor}" ><img name="enviar" src="imagens/b_edit.png" border="0" title="Alterar" > </a>
				<a href= "index.php?evento=42&codigo={$entrada->cod_professor}" ><img name="enviar" src="imagens/b_drop.png" border="0" title="Excluir" onclick="return confirmLink(this, 'Deseja excluir o Professor ?')" > </a>
 		   	</td>
  	  		<td> {$entrada->nom_professor} </td>
    		<td> {$entrada->tel_professor} </td>
    		<td> {$entrada->cel_professor} </td>
    		<td> {$entrada->ativo}</td>
   	 	</tr>
    	{foreachelse}
    	    <tr> <td colspan=3> <b> Nenhum registro encontrado</b> </td></tr>
    	{/foreach}
	</tbody>
</table>
